/*
 * Base structure
 */
/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;
  min-width: 1024px;
  padding-left: 170px;
  font-family: "微软雅黑", "黑体", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.nav-collapse {
  padding-left: 56px;
}
/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar {
  border: 0;
  height: 50px;
  background-color: #0099cc;
}
.navbar .navbar-toggle {
  background-color: #0087b4;
}
.navbar .navbar-toggle .icon-bar {
  background-color: white;
}
.navbar .navbar-collapse {
  background-color: #0099cc;
}
.navbar .navbar-brand.logo {
  background-color: #0087b4;
  width: 56px;
  padding: 10px 13px;
}
.navbar .navbar-brand.logo img {
  width: 30px;
  height: 30px;
}
.navbar .navbar-brand.brand {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 114px;
  margin-left: 0 !important;
}
.navbar .navbar-brand.brand:hover {
  background-color: #0087b4;
}
.navbar .navbar-brand.brand img {
  margin-left: auto;
  margin-right: auto;
  height: 40px;
}
.navbar .navbar-nav > li > a {
  color: white;
}
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:focus {
  color: white;
  background-color: #0087b4;
}
.navbar .navbar-nav > li.open > a,
.navbar .navbar-nav > li.open > a:hover,
.navbar .navbar-nav > li.open > a:focus {
  color: #333;
  background-color: white;
}
/*
 * Sidebar
 */
.sidebar {
  display: block;
  width: 170px;
  position: fixed;
  top: 50px;
  bottom: 0;
  left: 0;
  margin-top: 0;
  z-index: 1000;
  background-color: #22282e;
}
.sidebar.collapse {
  width: 56px;
}
.sidebar .nav-sidebar.nav-line {
  border-top: solid 1px #777777;
}
.sidebar .nav-sidebar > li,
.sidebar .nav-sidebar-sub > li {
  position: relative;
}
.sidebar .nav-sidebar > li > .nav-tooltip,
.sidebar .nav-sidebar-sub > li > .nav-tooltip {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  color: white;
  background-color: rgba(34, 40, 46, 0.8);
  right: -146px;
  padding: 10px 20px;
  text-align: center;
}
.sidebar .nav-sidebar > li > .nav-tooltip:after,
.sidebar .nav-sidebar-sub > li > .nav-tooltip:after {
  position: absolute;
  content: "";
  top: 50%;
  left: -6px;
  margin-top: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid rgba(34, 40, 46, 0.8);
}
.sidebar .nav-sidebar > li a,
.sidebar .nav-sidebar-sub > li a {
  padding: 10px 20px;
  color: white;
  white-space: nowrap;
  text-overflow: clip;
  overflow: hidden;
}
.sidebar .nav-sidebar > li a:focus,
.sidebar .nav-sidebar-sub > li a:focus {
  color: white;
  background-color: #22282e;
}
.sidebar .nav-sidebar > li a:hover,
.sidebar .nav-sidebar-sub > li a:hover,
.sidebar .nav-sidebar > li a.hover,
.sidebar .nav-sidebar-sub > li a.hover {
  color: white;
  background-color: #37424f;
}
.sidebar .nav-sidebar > li.active > a,
.sidebar .nav-sidebar-sub > li.active > a,
.sidebar .nav-sidebar > li.active > a:hover,
.sidebar .nav-sidebar-sub > li.active > a:hover,
.sidebar .nav-sidebar > li.active > a:focus,
.sidebar .nav-sidebar-sub > li.active > a:focus {
  color: white;
  background-color: #0099cc;
}
.sidebar .nav-sidebar-sub > li > a {
  color: white;
  background-color: #293038;
}
.sidebar .nav-sidebar-sub > li > a span:not([class^='icon-']) {
  padding-left: 1em;
}
